import request from '@/utils/request'

// 查询户资金修改查询列表
export function listCostQuery(query) {
  return request({
    url: '/house/costQuery/list',
    method: 'get',
    params: query
  })
}

// 查询户资金修改查询详细
export function getCostQuery(doorCostId) {
  return request({
    url: '/house/costQuery/' + doorCostId,
    method: 'get'
  })
}
// 获取小区信息
export function getAreaInfo1(areaName) {
  return request({
    url: '/house/area/list2/'+areaName,
    method: 'get'
  })
}

// 获取小区信息
export function getAreaInfo() {
  return request({
    url: '/house/area/list1',
    method: 'get'
  })
}
// 获取楼宇信息
export function getGroupInfo(areaName) {
  return request({
    url: '/house/group/getGroupInfo/'+areaName,
    method: 'get'
  })
}

// 获取单元信息
export function getUnitInfo(areaName,groupName) {
  return request({
    url: '/house/unit/getUnitInfo/'+areaName+"/"+groupName,
    method: 'get'
  })
}

